<div class="panel panel-default" ng-controller="OpsController">
	<div class="panel-heading">
		系统管理 / 操作日志
	</div>
	<div class="row wrapper m-n">
		<form class="bs-example form-horizontal ng-pristine ng-valid">
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.username" class="form-control" placeholder="用户名">
				</div>
			</div>
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.moduleMenu" class="form-control" placeholder="操作菜单">
				</div>
			</div>
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.ip" class="form-control" placeholder="ip地址">
				</div>
			</div>
			<div class="form-group col-md-4" ng-controller="DatepickerDemoCtrl">
				<div class="col-md-11">
					<div class="input-group">
						<input type="text" class="form-control" datepicker-popup="{{format}}" is-open="opened" ng-model="timeRange.startTime" datepicker-options="dateOptions"
							close-text="Close" placeholder="开始时间" readOnly /> <span class="input-group-btn">
							<button type="button" class="btn btn-default"
								ng-click="open($event)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
					</div>
				</div>
			</div>
			<div class="form-group col-md-4" ng-controller="DatepickerDemoCtrl">
				<div class="col-md-11">
					<div class="input-group">
						<input type="text" class="form-control" datepicker-popup="{{format}}" is-open="opened" ng-model="timeRange.endTime" datepicker-options="dateOptions"
							close-text="Close" placeholder="结束时间" readOnly /> <span class="input-group-btn">
							<button type="button" class="btn btn-default"
								ng-click="open($event)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
					</div>
				</div>
			</div>
		<div class="form-group col-md-1">
			<div class="col-md-11">
				<button type="button" class="btn btn-info" ng-click="query()">查询</button>
			</div>
		</div>			
		</form>
	</div>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th style="width:10px;"></th>
					<th style="width:60px;">用户名</th>
					<th style="width:60px;">操作菜单</th>
					<th style="width:60px;">操作</th>
					<th style="width:60px;">参数</th>
					<th style="width:60px;">操作时间</th>
					<th style="width:60px;">IP地址</th>
					<th style="width:60px;">浏览器信息</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="ops in dataList">
					<td></td>
					<td>{{ops.username}}</td>
					<td>{{ops.moduleMenu}}</td>
					<td>{{ops.ops}}</td>
					<td>{{ops.opsParament}}</td>
					<td>{{ops.opsTime|date:"yyyy-MM-dd HH:mm:ss"}}</td>
					<td>{{ops.ip}}</td>
					<td>{{ops.browser}}</td>
				</tr>
				<tr ng-show="dataList==''">
					<td colspan="8" style="text-align: center;">暂无操作日志信息</td>
				</tr>
			</tbody>
		</table>
	</div>
	<page-footer/>
</div>